[Components]: Fixed js error
removed debug code