Wrap CommonJs modules with AMD