example combining Ajax Sinatra and RightJS