separate js and css from the index