messing with arraybuffers in clojurescript is ticky;so offloaded to js code