Moved JS to main.js. Made root path redirect to new "main.jsp"