making alternate methods for IE8