this way of checking for activex doesn't break stuff in IE9 for me