Refactor loading/styles queues composition for the client-side.