jasmine to work with require