remove extraneous JS