fixing the domready to work for ie8