Remove extra code in marquee JS