Add first draft of AJAX human input, with help from @sudowhoami