changed carousel cookbook to use requireModules