Added IE 8-compatible function for compareDocumentPosition
Enyo-DCO-1.1-Signed-off-by: Ian Beck <ian@onecrayon.com>