use js- class