Re-factored to use require.js