add tmp.html to test phantomjs promise