Ummmm.... Java applets and Javascript are not the same thing.
Unfortunately, I know of no Javascript debuggers for Safari.
I usually debug the bulk of my Javascript using Mozilla (which has adequate client-side tools). Of course, that doesn't help debugging Safari-specific problems (which luckily have been few).
bear