finished poll.js cleaning up the logs a little