Moved the javascript into the js section.

I must be getting sleepy.