Update photogroup.js

Updated documentation.