Add is-loading class to components