Ace working with require.js