Update canvasmask.js

- removed unused vars
- used Array.forEach instead of while loop, thus moving the variables into iterator scope
- reduced overall amount of vars
Merge pull request #2 from stryju/patch-1

cleanup @ canvasmask.js - I normally send ev to all event listeners to be able to get target - so not used _yet_ :)