Catching Mocha's finish by adding global "end" event listener for all Mocha.Runner instances.
(that's why I love JS :) )