Switched to amd modules and require.js. Running QUnit tests with grunt does not work yet.