fix the play js when no cookie