add clear cookie function within popup html