changed exposure phantomjs and *TempFile for templates to be available in template files