Browserify-compatible module to get and set cookies in the browser