added comments to apps.js