removed the last of the JavaScript