fixes breaking search for UiWebView.
Merge pull request #188 from timwindsor/issue187

fixes breaking search for UiWebView.