Remove now unneeded JavaScript.