diff --git a/backbone.localStorage.js b/backbone.localStorage.js
index <HASH>..<HASH> 100644
--- a/backbone.localStorage.js
+++ b/backbone.localStorage.js
@@ -122,6 +122,10 @@ Backbone.LocalStorage.sync = window.Store.sync = Backbone.localSync = function(m
     if (options && options.error) options.error("Record not found");
     if (syncDfd) syncDfd.reject();
   }
+  
+  // add compatibility with $.ajax
+  // always execute callback for success and error
+  if (options && options.complete) options.complete(resp);
 
   return syncDfd && syncDfd.promise();
 };
add options.complete to Backbone.LocalStorage.sync to add compatibility with $.ajax