Script & html escaping for label name.
Removed a lost console.log().