remove references to api.js