a little javascript lib of cookie