added minor stuff for require.js