javascript core API update