Start modularizing the code with RequireJS.