removes outdated inline Javascript