add ignore if not defined for bad browsers like ie; fixes #341