socket.io setup to send new history-items every 2 seconds.
socket.io should now work cross domain.
Changes date formatting to standard json. New date on history-items over socket.io.
Trying new path.