Improved navbar, footer and javascript