Update jquery.pageflip.js: Use the each function