Simple leader election library for node.js built with ZooKeeper's C API