Removed unneccesary instanceof check, and updated ButtonCore to fetch the `disabled` ATTR instead of the node's attribute property.