added support for react.js