JSDOM - getting source location of a node with `nodeLocation(node)` // `parse5` lib helps to serialize and/or parse
By Sandy Halvorson at May 13 2021