Added loading and loaded states to the body class