removed Jquery cookies and modified cookiefunction with Sören's strange cookie-script