some js syntax fix
some more javscript fixes
fixed some js stuff
almost valid HTML5
Merge pull request #1 from JBlond/master

javascript clean up