best practices phantomjs tunning