Catch IllegalStateException in evaluateJavascript()
保证onResume()的download task 只在BuildDocTask后进行