borderColor not supported by IE8

check if this attribute is available on the element, otherwise ignore it. This ensures that there are no script errors on IE8