add notification html5 API to chat