Adding implementation in JS with jasmine-node