Passing JSHint and upgrade to socket.io 1.0.6