A simple JavaScript tool for handling cookies.