added clientside error tracking #2171
Merge pull request #2172 from icaaq/track_js_errors

added clientside error tracking