check support before add listener (fix for ie)