Updated domready event