Remove redundant javascript and css