change character counting js to find display element by DOM traversal rather than by element id, so the handler still works even if multiple ecounters/textareas on the page have the same id