javascript footer loads, remove outdated javascript