simple js app to send commands