utility functions which to help write code in clojurescript which can be deployed in node.js