use subprocess to avoid OOM in browserify+jsdom mode