fix missing exports.
js lib base.