Javascript plugin for Capnproto