api.js removed