This piece of code can probably go away, as now nodeJS powered script runs phantomas.