Update to readme
Centralized AJAX request code. General code cleanup.