Update NodeTemplates.js

corrected a minor type 'Diagnotics'