Remove unneeded javascript.