ensure this method works with submoduled jquery.cookie.js also