Added support for require.js 2.x & backbone.js 1.x