add AMD support using the Backbone method