Update api.js

Nightly30.0a1 bug 982944