Update of JS local storage to be compatible with Android WebView.