JavaScript alert() method replasement for iOS 7 WebView usage