Verified index.js with Jasmine unit test.