cocoon_utils.js fixed for webview+.