The `.js` gets created with the `-c` option, but you have a point that the `-p` option is redundant since it is also printing it to `stdout`. I think it is better to use a temporary file.