upgraded nodejs functions.