Changed off event
Changed check for undefined values in off function
Simplified off function
Merge pull request #64 from LingoLasse/api

jslib: Changed off API function