Update mouseEvents.js