better errors
jshint sendcommand