check phantomjs command length