cleaned up socket.io
Removed scripts
cleaned up code for socket.io and dash