Implemented requirejs module definitions