simple browser cookie get/set/remove functions (for js_of_ocaml)