apps.js updated