Remove duplicated code, since LJSRequest has the app object.