Little bit of template cleanup. Let's at least put head and body tags in the html. Jeez.
One more template cleanup. Jquery code needs to be clearer.