implemented requirejs/fixed bugs