Added JS API to the Knob component