Update scrollpagination.js