Added RequireJS, made code coverage test pass