added require.js config and start function