experiments in sinatra and ajax