remove useless js and css codes