added jQuery .change() to setText function