clique case on javascript side