Get notified when JS breaks?
<p>I have configured PHP to send me mails whenever there is an error. I would like to do the same with Javascript.</p>

<p>Also given the fact that this will be client side it is open to abuse. </p>

<p>What are good ways to get notified by mail when JS breaks in a web application?</p>

<p><strong>Update:</strong></p>

<p>Just to give some perspective, i usually load several js files including libraries (most of the time jQuery). </p>
