removed js from view, added external files to application.js, removed js files from view load