Update index.html

add js file for text inputs