corrects route for index.html
updates xhr on the front-end
adds globals for jshint