Hello,
I downloaded electron and installed it on webstorm in order to learn it. I also installed Jquery using the terminal and including in my scripts but jquery isn't working but it is recognized in my code (I haven't got any error). 
My code :
const remote = require('electron').remote;
let window = remote.getCurrentWindow();
function exitGame() {
    alert("test");
    $('exit').click(() => {
        alert("closing");
        window.close();
    })
}
exitGame();<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Electron Test</title>
    <!-- RESET CSS -->
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <!-- ADDING CSS -->
    <link rel="stylesheet" type="text/css" href="css/main_menu.css">
  </head>
  <body>
    <div id="exit">Leave the game</div>
    <!-- ADDING JAVASCRIPT -->
    <script>
      // You can also require other files to run in this process
      require('./renderer.js');
      require('./js/jquery.min.js');
      require('./js/main_menu.js');
    </script>
  </body>
</html>The jQuery alert is working but the click isn't.
Even if I replace the "exit" id by "body" it's not working...
Can you tell me what's wrong ?
Thank you very much, best regards.
