Support for PhantomJS stacktrace

Fixes #76.