restart phantomjs after nginx