NavBar and Subtitles

Also, reorganized javascript into specific files.