Wordpress fix for a 406 error caused by jQuery Cookie