Rename parent->parentNode to prevent clash with testharness.js