2 errors in app.js amd 1 error in config.js fixed