[Fix] Fix jshint errors
[Fix] Fix syntax error with EventsEmitter#on: the third parameter is not the context of the listener, it's an object holding optional 'context' and 'times' properties
[Test] Make the test file more readable