remove unexpected token on the socketio client