moved inline js and css out