fix issue with async2 in require.js