Common utils in nodejs