[Script] Adds onReady
prop to next/script
#38849
Merged
onReady
prop to next/script
#38849