add support es6 class