Add Js::writeBuffer()