add hub js api. openPicker with continuation. WIP