Re-add the serendipity_jssetcookie function, because plugin use this API and it would otherwise create a fatal PHP error.