Removed use of 'startsWith'. Set mathjax to render for sender and receiver. Let sender see own messages.