Added JS file to project
Prepared routes to be called by JS