Change jsdog enable to use collector method