fix bug with node 0.11 (slice does not exist on typed arrays)
v0.2.2