Remove the old JavaScript code