1. refector the highligh.js file for rangy