added requirejs for DI