change domready to domload for animations