added ajax and sinatra