call success function on successful return from save call fail in case of API error
call success function on successful return from save
call fail in case of API error

krisrandall/datasync.js,krisrandall/datasync.js,krisrandall/datasync.js