The ultimate dom ready function