anchor.diff:  <script type="text/javascript" src="lib/js/jquery-2.1.4.min.js"></script>
   <script type="text/javascript">
   
  -function login() {
  +/*function login() {
       var email = document.getElementById("txtEmail").value,
       password = document.getElementById("txtPassword").value;
           
  
positive.code:     	}).fail(function() {
      	    console.log( "error" );
      	});
  }
  
  function onSuccess(googleUser) {
  	var profile = googleUser.getBasicProfile();
  
negative.code:     $.post( "/login", data, function( resp ) {
      	 	console.log("success");
      	 	console.log(resp);
      	 	if(resp.indexOf("https://") > -1) {
      	 		window.open(resp);	
      	 	}
      	}).fail(function() {
      	    console.log( "error" );
      	});
  