to set a keyvalue use
setKeyValue(A,B);
replace A with the name of the keyvalue, like "visits", and B with what you want to set A to.
to get the value of a keyvalue use
getKeyValue(A, function(b){
});
replace A with the name of the keyvalue, and use B INSIDE THE FUNCTION to use the keyvalue
so to console log the value of keyvalue "visits", put
getKeyValue("visits", function(b){
console.log(b);
});