Added support for Direct Web, RequireJS and Node JS Compatible.