Added modular javascript support using RequireJS