moving refresh to domready to avoid race condition when using component in balrog