use element.value for wordcount for textareas etc