update content type to applciation/json ibn app.js file