adds chat server script and index.html