adding data attributes for chat to work