Update the loading div according to PR #6