Script to add a CSS class indicating the distance between original and converted text