Prevent multiple JS override (bugfix, exclude TWIG render)