Communicate via node and phantomjs using stdout / stdin