Update with more relevant html5 tags in base.html. Moved jQuery to head

Please check if jquery functions work now.