add some api.js