Catch IllegalStateException thrown by Browsver.evaluate since RAP 2.3