A WordPress plugin that will log JavaScript-errors that occurs on the front-end of your website. Errors are logged to a non-public custom post type inside WordPress.
More info and download over at the WordPress plugin repository:
http://wordpress.org/extend/plugins
/wp-javascript-error-logger/