Fixed double head/body. Moved Javascript function to application.js. JS not working properly. Navbar still non-functional.