switch to cookies-js for browser cookie storage