I think I got my word game to work. Using jQuery UI and ajax, I get some random words and then allow the user to drag and make a sentence.