making stellar.js compatible with AMD/require.js