Fix jshint errors.
Handle case where photo_string_id is undefined.