deleted api.js in favor of app.js