remove trailing whitespace
Move spelling suggestions into an ajax action.
Add suggestion cache and implement callback via deferreds so that the UI is not blocking. Add suggestions back to template.