added typed array shim for IE9 support