Update photogroup.js

Removed some unused variables.