Taking out http from jquery and adding in static subdirector to index.html.