ports.writeUserData.subscribe(function(content) {
             ipc.send('write-user-data', content);
         });
         app.ports.loadUserData.subscribe(function(unit) {
             ipc.send('load-user-data', unit);
         });

         ipc.on('user-data-loaded', function(event, content) {
             app.ports.userDataLoaded.send(content);
         });
        </script>
    </body>
</html>
