Adds jquery.cookie.js plugin
Change from using window.user to $.cookie('user')