Refactor loader to be replaced by main div