base.js with jasmine-test