remove unneccessary javascripts