changes for requireJS