delete unneeded javascripts