moved chat.html file to res for module compilation