Typed Arrays polyfill for JavaScript