Updating loading element to body instead of html