NodeJS module to compare two dom trees