using examples from https://github.com/gardym/jasmine-node-requirejs