using new ActiveXObject instead of GetObject, which is no longer available in the latest IE versions