add JS error tracking to google analytics
Merge pull request #95 from diydrones/track_js_errors

add JS error tracking to google analytics