title: Wonder Plugin Carousel multiple playlist request from Youtube crashes
body: <p>I'm using Wonder Plugin Carousel Version 15.1. I'm trying to retrive playlists from my youtube channels which are more than 15.</p>
  
  <p>I'm using carousel playlist integration and already display 2 channel's playlist on my webpage. However, when i try to add 3rd channel's playlist as seperate carousel like i did, it throws me error.</p>
  
  <p>I checked console and see the error below:</p>
  
  <pre><code>2wonderplugincarousel.js:216 Uncaught TypeError: Cannot read property 'replace' of undefined
      at Object.success (wonderplugincarousel.js:216)
      at i (jquery.js:2)
      at Object.fireWith [as resolveWith] (jquery.js:2)
      at y (jquery.js:4)
      at XMLHttpRequest.c (jquery.js:4)
  </code></pre>
  
  <p>Here is the wonderplugincarousel.js gettingplaylist parameter looks like</p>
  
  <pre><code>  getYouTubePlaylist: function(youtubeapikey, youtubeplaylistid, youtubeplaylistmaxresults, index, insert_index, onsuccess, instance, pagetoken) {
                  var youtube_url = "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&amp;playlistId=" + youtubeplaylistid + "&amp;key=" + youtubeapikey;
                  if (youtubeplaylistmaxresults)
                      if (youtubeplaylistmaxresults &gt; 50)
                          youtube_url += "&amp;maxResults=50";
                      else
                          youtube_url += "&amp;maxResults=" + youtubeplaylistmaxresults;
                  if (pagetoken)
                      youtube_url += "&amp;pageToken=" + pagetoken;
                  var all_done = true;
                  $.getJSON(youtube_url, function(data) {
                      if (data &amp;&amp; data.items) {
                          var original_item = $("li.amazingcarousel-item", instance.container).eq(index);
                          for (var i = 0; i &lt; data.items.length; i++) {
                              var video_id = data.items[i]["snippet"]["resourceId"]["videoId"];
                              var thumbnail = "https://img.youtube.com/vi/" + video_id + "/0.jpg";
                              var image = "https://img.youtube.com/vi/" + video_id + "/0.jpg";
                              if (data.items[i]["snippet"]["thumbnails"] &amp;&amp; data.items[i]["snippet"]["thumbnails"]["maxres"])
                                  image = data.items[i]["snippet"]["thumbnails"]["maxres"]["url"];
                              var video = "https://www.youtube.com/embed/" + video_id;
                              var title = data.items[i]["snippet"]["title"];
                              var description = data.items[i]["snippet"]["description"];
                              var new_item = original_item.clone();
                              new_item.removeAttr("data-youtubeapikey").removeAttr("data-youtubeplaylistid").removeAttr("data-youtubeplaylistmaxresults");
                              var item_html = new_item.html().replace(/data-srcyt=/g, "src=").replace(/__IMAGE__/g, image).replace(/__THUMBNAIL__/g, thumbnail).replace(/__VIDEO__/g, video).replace(/__TITLE__/g, title).replace(/__DESCRIPTION__/g, description);
                              new_item.html(item_html);
                              if (instance.options.lightboxobject &amp;&amp; new_item.find("a").hasClass("wondercarousellightbox"))
                                  new_item.find("a").each(function() {
                                      instance.options.lightboxobject.push(this);
                                      $(this).off("click").click(instance.options.lightboxobject.clickHandler)
                                  });
                              $("li.amazingcarousel-item", instance.container).eq(insert_index).after(new_item);
                              insert_index++
                          }
                      }
                      if (data &amp;&amp; data.nextPageToken &amp;&amp; youtubeplaylistmaxresults &amp;&amp; youtubeplaylistmaxresults &gt; 50) {
                          all_done = false;
                          instance.getYouTubePlaylist(youtubeapikey, youtubeplaylistid, youtubeplaylistmaxresults - 50, index, insert_index, onsuccess, instance, data.nextPageToken)
                      }
                  }).always(function() {
                      if (all_done) {
                          $("li.amazingcarousel-item", instance.container).eq(index).remove();
                          onsuccess(instance)
                      }
                  })
              },
  </code></pre>
  
  <p>I've expected to show all my channel's playlists which may exceed more than 50 videos totally.</p>
  
  <p>Is there any restriction from youtube to get results that have too much video ? I also tried to increase total video responds via plugin but nothing changed.</p>