clean up javascript and css