Allow the use of "onready" in Goldilocks

Related to #4134