Updating mousevents.js