The easiest way to do this is by wrapping the contents in a div or in p , and then use <br /> for line breaks.
So something like
//set content of infoWindow window.setContent("<p>" + inspStates[i].name + "<br />" + "total: " + inspStates[i].totalInsp + "<br />" + info + "</p>");
source share