Removing unwanted css and js in templates