Removing unneccessary javascripts