Would recommend for anyone getting seriously into the javascript side of things to do your coding via eclipse. It will save you many hours of syntax/other random hours wasted. I wonder if there is a way to get autocomplete running for PA as well.. hmmm
I've been using Notepad++ and set it to Javascript, as I hadn't before, now with it set to that it does tell me of syntax errors, a lot of help as it makes you feel pretty silly when you spend a whole day trying to find out why something's not working and it turns out to be syntax, a simple mistake of a keystroke.