requireJS integration