$(".rm-reviews-list").append(''); $('.next_review').attr('href', '/products/medium-wash-blue-zipper-patchwork-printed-distressed-denim-pants-213763.js?page=3') $('.next_review').remove();