JS API changes