Much more require.js friendly