Work around IE10's typed array bug

Closes #42.