title: How to convert a big project to requirejs
body: <p>The project is use js like this:</p>
  
  <p>One jsp:</p>
  
  <pre><code>&lt;script type="text/javascript" src="**********"/&gt;
  &lt;script type="text/javascript" src="**********"/&gt;
  &lt;script type="text/javascript" src="**********"/&gt;
  </code></pre>
  
  <p>and each js file is like:</p>
  
  <pre><code>$.omatrix.a = {
     amethod : function(){
  
  }
  $.omatrix.a.summary = {
  
  
  }
  </code></pre>
  
  <p>and so on.</p>
  
  <p>Because I will use two js files, they are all fusioncharts, one is charts, and the other is widgets,
  and the two file conflict, so I have to use requirejs to resolve the situation.
  But when I use, I found the one js file <code>$.omatrix</code> is undefined, I don't know why.</p>