remove outdated javascript