--odir + -tjs combi works; small fix of js backend (broken by previous commits)