Update infinitePics.js