Add host/port vars back to index.html for server code.