added .js to index.html and updated apps.js