js parsing error on app.js file