renamed cookie listener to cookiesetterlistener
added backward compatibility with older version