[js] Added support for typed array blitting

It's still a little ugly, as you need to use untyped / cast to get this working. Hopefully when #2170 is closed, we can support this correctly.