simple AJAX request in Sinatra