use js-class