cleanup javascript and css