Refactor scripts loader + Render array inside modal