integration with requireJS part 1