a basic, sinatra-based demonstration of AJAX