Ember.SimpleAuth = {};
Ember.SimpleAuth.setup = function(app, options) {
  options = options || {};
  this.routeAfterLogin = options.routeAfterLogin || 'index';
  this.routeAfterLogout = options.routeAfterLogout || 'index';
  this.loginRoute = options.loginRoute || 'login';
  this.logoutRoute = options.logoutRoute || 'logout';
  this.serverSessionRoute = options.serverSessionRoute || '/session';

  var session = Ember.SimpleAuth.Session.create();
  app.register('simple_auth:session', session, { instantiate: false, singleton: true });
  Ember.$.each(['model', 'controller', 'view', 'route'], function(i, component) {
    app.inject(component, 'session', 'simple_auth:session');
  });

  if (options.authenticateAjax) {
    Ember.$.ajaxPrefilter(function(options, originalOptions, jqXHR) {
      if (!jqXHR.crossDomain) {
        if (!Ember.isEmpty(session.get('authToken'))) {
          jqXHR.setRequestHeader('X-AUTHENTICATION-TOKEN',  session.get('authToken'));
        }
      }
    });
  }
};

@@ -819,24 +819,12 @@
 main
-) %7B%0A        if (
+ && 
 !Emb
@@ -859,26 +859,24 @@
 Token'))) %7B%0A
-  
         jqXH
@@ -952,18 +952,8 @@
 ));%0A
-        %7D%0A
     

combine nested ifs