message detail now uses jsx