Fix js error on display componentscatalog on a view