Using array buffer instead of string data input. Fixes IE10 support.
Fixes #20.