flip-fix for js-target