fix: [misp.js] Addressed lgtm warnings
fix: [misp.js] Addressed lgtm warnings

SteveClement/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP