Clears up a few points about the JavaScript section

Adds some examples of good and bad methods.
jQuery.ajax instead?