In AC, there are $R$, $C$, & $L$ or $R$, $X_C$, & $X_L$. $$ X_C = \frac{1}{\omega C} $$ where $\omega=2\pi f$.
But sometime we're using the $X_C = \frac{1}{j\omega C}$. I understand the $j$ is the imaginary unit and it's current lead voltage in capacitance circuit. But why does the equation sometimes have $j$ and sometimes don't?