HTML5 based webcam application