Fix for issue #3

use solution proposed in https://github.com/larrymyers/jasmine-reporters/issues/28.