fix(loader): should not use domready as it breaks tests