requireJS added for code modularization