Just Test It - how to test frontend apps with Karma, Sinon.js, Mocha+Chai and Require.js