phantom js setup script