fixed tagcanvas module to check for undefined in photo length
Merge pull request #19 from tleung999/photo

fixed tagcanvas module to check for undefined in photo length