nodejs: add a number of explanatory and warning comments