Refs EEA #18200; Check if Range.prototype exists in order to avoid issue with Firefox where the Range.prototype returns undefined