fix check for msie browsers versions below 8