Updating chain on clickSlide.jquery.js:21