Add wait for node-phantom ph initialization

This is to avoid not-returning issue when `createPage()` is called in the latest node-phantom.