deleted unnecessary comments in index.html, separated templates with comments
added scripts for all js files in index.html in correct order
moved all functions from app.js to individual files
made individual js file for homepage, login, navbar, router, and search results
Merge branch 'namespacing_js_files_official'
ok