Add a createRange method to the document object