Added domready and domdelegate