fixing an IE8 issue when wysihtml5 tried to call getAttibute on a boolean.