Wiring up require.js and jquery and adding canvas