Fixed a number of HTML errors.
Now include the JS files externally.