Added the new createAnonymousAMDModule option and adjusted the way the third-party dependencies work