In JavaScript, do not fell apart when there is no toggle link available.