Converted the app to use Require.js