added js folder and files, added controllers to index.html