* Remove special error script handling. As a result of that, we can't detect 500 errors and buildIdMismatch via client side. * Fix failing test cases. * Refactor the code base. * Remove Router.onAppUpdated