I tried to put wget and tar on the same line as you said, but:

```
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error is not recoverable: exiting now
cp: cannot stat `phantomjs-*/bin/phantomjs': No such file or directory
```

Here is the line:

```bash
# $PJSURL = "https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2"
append_log successfully wget -qO - $PJSURL | tar xjpf -
```