Added document.foundation to app.js