[js]: Fixed bug in the JS client-side library, which raised an error when sendCommand was called without specifying callbacks
[jsxilinx]: Minor changes