upgraded photo.js with limitTo support