create sabre api js