Removed all references to node.parentElement (IE compatibility)

Internet Explorer 11 does not support this property on HTML nodes.
Merge pull request #259 from peitschie/ie10-fixes

Removed all references to node.parentElement