Remove unneeded javascript