JS API methods

JS API methods