Another attempt at saving to cookies

I tried to use a jQuery library to make using cookies easier, but I
couldn't get that to work. Now I'm just using JS by itself, but that
isn't working either. I'm not sure what to do at this point.