using jquery to send commands to robot via bluetooth