Make phantom js take input