Remove unneccessary javascript