Did some fixes in app.js for our ls_rest_adapter implementation fixes #86