added some nodejs utils