Update to new js-core