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