Fix Exception: "TypeError: topMenu is null"