Reinit array with AOS elements and trigger refresh (called on DOM changes that are related to aos elements)
use_aos_refresh_hard()
Javascript code