Remove extraneous javascript