testing cookie stuff (learning js)