ajax request for data, display words to enter and count errors