added some basic rangy highlighting code