JS API now returns promises everywhere