fixed CORS trouble between Sinatra and AngularJS