Support JSX/ES6 classes as well.
updated dist files.