Clean up JS on photo review page

 - Break page existence check into named function
 - Look for page elements inside passed in container