major logic changes to word suggestions, formatting and more to analytics.js