Fix requireJS compatibility issue

last few lines in `src/amd/require.js` adds a  global **export** variable

however, when using in requirejs, the added global export will cause other module fails to load
cause the added global export will make other module thought they're in the wrong environment(server side)

I removed two lines and it works with my project