Worked on dependency injection and js module structure