title: How to search text from page with next and previous with native javascript on MS Edge
body: <p>This question can be specified that if I only have native Javascript with <code>window.getSelection</code>, <code>document.createRange</code>, without any libraries and no <code>window.find</code>, how can I implement the search feature with next and previous buttons.</p>
  
  <p>Currently I have this code with Prev and Next button but I have no idea how to do search previous/next effectively. Is there a way not to save the search location in a global variable? </p>
  
  <p><a href="http://jsfiddle.net/8mdX4/1286/" rel="nofollow">http://jsfiddle.net/8mdX4/1286/</a></p>
  
  <p>Is there any polyfill of window.find which I can find?</p>