Javascript wrapper for capturing Jpeg images from AS3 / Flash webcam