e.text is not a function