better message on js