javascript nodejs omni-functions