app.js error corrected