cleaned up code
Moved _onMadkkeyDown method so it is with other private methods.
Bound event listener to window rather than mask
Changed method name