fixed final 4 codeacy flagged issues
fixed final 4 codeacy flagged issues

arlemi/node-red-node-watson,arlemi/node-red-node-watson,ylecleach/node-red-node-watson,chughts/node-red-node-watson,DanCunnington/node-red-node-watson,ylecleach/node-red-node-watson,DanCunnington/node-red-node-watson,chughts/node-red-node-watson