chrome.identity to work in vanilla cordova