title: Uncaught ReferenceError: module is not defined - phonegap-plugin-push
body: <p>I am creating a JQuery mobile Application wrapped by Cordova to get native mobile build.</p>
  
  <p>I need to implement push notification and my Application supports Android and IOS. SO I started with Android. I created a project in Google developer console - <a href="https://console.developers.google.com/" rel="nofollow">https://console.developers.google.com/</a></p>
  
  <p>Then I installed a  <a href="https://github.com/phonegap/phonegap-plugin-push" rel="nofollow">push notification plugin</a> using CLI command </p>
  
  <pre><code>cordova plugin add /path/to/plugin/directory
  </code></pre>
  
  <p>When I add the files in my index.html, the order is </p>
  
  <pre><code>&lt;script type="text/javascript" src="cordova.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/index.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript" src="push.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>When I run the Application it says, <strong>Uncaught ReferenceError: module is not defined</strong> </p>
  
  <p>I tried swapping the file declaration in index.html. Also removing and installing the plugin again but no luck. </p>
  
  <p>Can you help me in resolving this issue.</p>