fix bug

storage "a": {undefined: {a: 1}} when G.localStorage.setObject "a", {a: 1}
storage [object object] when G.localStorage.set "a": {a: 1}