Update script.js

Deleting prevMouseY variable.