upgrade JS
update script to reduce interference between infinite scroll and Masonry for blogs with a small number of posts per page