Work around a bug when using jasmine node runner