Replaced Chrome's captureVisibleTab with node-webkit's capturePage