add gitignore file
update d3 example. troubleshoot web sockets.