Fixed getSupported to work in IE8