added requireJs to load dependencies