Awesome getCookie Function from
djangoproject