Update index.html

add id to chat object
remove most attributes from chat object