Added app.js to work with app readiness state + added workaround for bug 958738.