Update infinitepics.js