Fix bad has(ie) check in IE11 with older versions of focus.js, which invoked attachEvent. Refs #17311.