added requireJs to lib