use new js-plugins and js-flow