Execute script whwnever partials loaded