moved the app.js script tag to the footer