change goog.require code to require.js code (non-stable)