Cleaned up onDomRefresh spec