Just put a backslash in front of the double-quotes:
facetsString += "<td><input type='checkbox' value="facetList[count] ... " /></td>"
Alternatively, you can wrap the outer in single quotes, and use double quotes for property values:
facetsString += '<td><input type="checkbox" value="facetList[count] ... " /></td>'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…