`innerHTML.indexOf("<p>", 2) == -1;` seems error prone, what case is it trying to solve?