(Issue #3724) Send JavaScript errors to Google Analytics