added as per require.js example