Ajax Sentence Submission and Dynamic Page Generation