* Extracted updateMessageItemizedPromptButton and getMessageHTML from addOneMessage to improve readability.
* Fix types and function calls
* Fixed insertBefore, insertAfter and messages without extra.
* Use strict comparison operator
* Use logical OR for display text fallback
* Fixed newMessageId again.
* Faster showMoreMessages.
* removed `insertAfter` and `insertBefore` from `mes_edit_copy`, `/message-role` and `/message-name`.
* Formatting fix
* Refactor newMessageId
---------
Co-authored-by: user <user@exmaple.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>