HPCC-12542 Revise based on review comments

1. change == to ===;
2. change ' to ";
3. remove a blank line;
4. check if Response + Result exists, before accessing it

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>