Moved body script in layout.twig