cleanup javascripts