fix somethings with require.js