Fixes 'parent is undefined' exception in DomParser.js
Merge pull request #213 from TwoRedCells/master

'parent is undefined' exception in DomParser.js