A loading bar bind on dom, using Shadow Dom