This can be simplified:

```
.format(
    markup_with_unread=escapejs(...),
    markup_with_none=escapejs(...)
)