add sinatra/base.rb, update app.rb with one liner to see if request was ajax, and if it was to render layout => false