Renamed javascript function to avoid conflicts with other libraries and removed jquery-ui dependency to highlight text