adding sample client code for js robotics