A refactoring of the example given on CodeProject at http://www.codeproject.com/Tips/677434/How-to-Create-a-jQuery-UI-powered-Web-Page-that-Re
This is a reworking of the code in the article, which I saw several places that could be improved. I'm making the changes in commits so I can track them easier for a follow-up article.