Adding support for requireJS environment (making blueprint and mGen as an AMD).