do not import cookies-js outside of browser