make sure logstr is unicode
build elements for pyquery
reduce log in phantomjs, catch json error
cookie support for phantomjs via header
add test for phantomjs