Added note about replaceRange() issue to JSDoc comment in Document