title: require.js is not loading any modules
body: <p>I am trying to load a module using require.js, and I have the following in my app.js:</p>
  
  <pre><code>require.config({
  baseUrl: "js"
  });
  
  
  alert("hello world"); // for debugging
  
  require(['eh2'], function(eh2) {
      alert("nothing here"); // for debugging
  });
  </code></pre>
  
  <p>When I run my application, though, despite the app.js being loaded, the module I'm requiring is never loaded - the "hello world" executes, but the "nothing here" doesn't!</p>
  
  <p>My script tag in the HTML page looks like this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="js/lib/require.js" data-main="app"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And eh2.js is located in the js folder, and it is wrapped in a define statement:</p>
  
  <pre><code>define(["./screens/Screens"], function(screens) {
      return {
          // code here
      };
  });
  </code></pre>
  
  <p>What am I doing wrong? Is require.js silently failing on loading some submodule under screens.js, perhaps?</p>
  
  <p>Here is the code from the Screens module:</p>
  
  <pre><code>    define([ "screens/TitleScreen", "screens/GameScreen" ], function(titleScreen, gameScreen) {
      return {
  
          screenFuncs: {
              "TitleScreen" : titleScreen.TitleScreen,
              "GameScreen" : gameScreen.GameScreen,
          },
  
          buildScreen: function(data) {
              var func = screenFuncs[data.type];
              var screen = new func(data.params);
              return screen;
          },
      };
  });
  </code></pre>
  
  <p>Do the paths in the define call need to be relative to the current location of the js file I'm in, or to the root defined in the app.js, anyway?</p>