update the app.js to recursively set the view keep to true