[Components]: Fixed js error