var isAndroid = navigator.userAgent.match(/android/ig);var isIos = navigator.userAgent.match(/iphone|ipod|ipad|windows phone/ig);