Support for calling run function in node.js