timob-16180: change 'onsnapshotready' to event