use jquery.cookie.js to handle cookie