python stdout to socket event to browser
line graph in browser