Make index.html works smoothly in chrome