Switch to localhost in html