included onWebcamReady callback functions