Added DOM ready event.