Added support for requirejs module system