Use RequireJS to modular js files.