moved refrences to JS files in index