Use an onready handler with the SAX parser.