Fix #386 by using parentNode instead of parentElement
Fix #386 by using parentNode instead of parentElement

NYPL-Simplified/readium-shared-js,NYPL/readium-shared-js,NYPL/readium-shared-js,readium/readium-shared-js,NYPL-Simplified/readium-shared-js,readium/readium-shared-js