Modified to use the local phantomjs instead of the global one.

Resolves #112