move js and css from index.html to files