Local mode is working. Needed to modify webview.js to have setter and getter for Payment LocalMode property.