Remove deprecated scripts, and clean up javascript and css includes