Create infinitepics.js