Update index.html with Input and java script