change localhost to / on index.html reference