change from common/class to resig-class npm module