Organize code into modules with Require.js