fixes bug 991324 - Change PDF generating to use PhantomJS