title: TypeError: events.replace is not a function JqueryWebcam Plugin
body: <p><img src="https://i.stack.imgur.com/TAZBe.png" alt="enter image description here">For some strange reason i began to get this error <strong><code>TypeError: events.replace is not a function</code></strong>. I am using Jquery Webcam Plugin i was able to see the flash player camera moments ago until i did a recompile of the code and got this error. Under is my imported scripts:</p>
  
  <p><strong>Scripts</strong></p>
  
  <pre><code>&lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" /&gt;
      &lt;script src="http://code.jquery.com/jquery-1.8.2.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"&gt;&lt;/script&gt; 
  
      &lt;script src="&lt;%=request.getContextPath()%&gt;/resources/js/jQuery-webcam/jquery.webcam.js"&gt;&lt;/script&gt;
      &lt;script src="&lt;%=request.getContextPath()%&gt;/resources/js/citizen_registration.js"&gt;&lt;/script&gt;
  
  
      &lt;link href="&lt;c:url value="/resources/css/forms.css" /&gt;" rel="stylesheet" type="text/css" media="screen" /&gt;
      &lt;link href="&lt;c:url value="/resources/css/citizen_registration.css" /&gt;" rel="stylesheet" type="text/css" media="screen" /&gt;
  </code></pre>