Separate javascript and css from index.html