Actually, I only can do it if my "<a></a>" element is showed. I've created the flag "isBannerShowing" to avoid handle it  every time |showNewMessageBanner| is called.

However, if we decide to put the ""<a id='message-banner-link'>"  fixed in index.html, I totally agree with you.