[Mobile Safari (iOS6) workaround] use typed_array.length instead of undefined for checking out-of-bound access to array (see https://gist.github.com/kazuho/5981164)
regen
Merge pull request #17