HTML5 getUserMedia API and Canvas photo booth