Moved phantom browser resizing to run.js.