whole_func_string: function sendMessage( args ){
      last = new Date();
      fs.write( tmpfile, JSON.stringify( args ) + '\n', 'a' );
      // Exit when all done.
      if( /^done/.test( args[0] ) ){
          phantom.exit();
      }
  }
func_code_string: function sendMessage( args ){
      last = new Date();
      fs.write( tmpfile, JSON.stringify( args ) + '\n', 'a' );
      // Exit when all done.
      if( /^done/.test( args[0] ) ){
          phantom.exit();
      }
  }
func_documentation_string: Messages are sent to the parent by appending them to the tempfile.