add --working-dir option when call phantomjs