Added check in fireEvent. Other minor things. Added jasmine-jquery.js to tests read more: https://github.com/velesin/jasmine-jquery.
IMPORTANT NOTICE it's not possible to catch with spy any function executed in eventListeners.js, might be because closure. I will try to find out more tomorrow.