Add new messages indicator from a hook

So it works for users without JavaScript

Bug: 56974
Change-Id: I0652a740ca7156257d4459931d80872877339c0d
Merge "Add new messages indicator from a hook"