Handle case where we get debug output at the end of phantomjs output