Set a cookie explicitly for JavaScript libraries, not only in the session