Appcelerator version of https://code.google.com/p/html5webview/