Remove old javascript code.