Webcam JS Error from take photo widget in forms on IOS