jquery-cookie without jQuery