Bug 961737 - DOMPointToOffset cleaning up, r=tbsaunde