Add support to RequireJS environments

When working with Marionette and/or Backbone this can be handy.