title: TypeError "Cannot set property connection of #<Navigator>" in console when upgrading project to latest version of Cordova 4.0.0
body: <p>Today, I upgraded Cordova-CLI from version 3.5 to version 4.0. After this, I updated a project's platform support to the latest version of Android (since they get updated separately now).</p>
  
  <p>Ever since then, I get this error showing up whenever I run <code>cordova run android</code>, I get the following error:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot set property connection of # which has only a getter at file:///android_asset/www/cordova.js:512</p>
  </blockquote>
  
  <p>As a result, a lot of events in the app don't get run, causing that app to not work.</p>