improved conversation.js (better reply and button handling)