Follow api change in jseditor on position conversion