title: Electron: Call renderer function from main
body: <p>I have some data in the localstorage that has to be deleted on <code>app.quit()</code>. But I see no way to do so from the main process. </p>
  
  <p>Is there a way to call a <code>renderer</code> function from <code>main</code>?</p>
  
  <p>I know about <code>var remote = require('remote');</code> but it seems to go only in the wrong direction.</p>