Example sinatra code from the jQuery ajax lecture