title: Inline Scripting issue in windows 10 apps with Microsoft edge
body: <p>Im developing Windows 10 store apps Javascript/Html and since there is Microsoft EDGE in apps as the browser, inline scripting no longer works. If i put the code in an external file, the page loads, but none of the click events work. Is there any solution for this. Small example where onclick attribute does not work.</p>
  
  <p>Code</p>
  
  <p>default.html 7 default.js</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>// For an introduction to the Blank template, see the following documentation:
  // http://go.microsoft.com/fwlink/?LinkId=232509
  
  function gored() {
      document.body.style.backgroundColor = red;
  }
  
  
  (function () {
      "use strict";
  
      WinJS.Binding.optimizeBindingReferences = true;
  
      var app = WinJS.Application;
      var activation = Windows.ApplicationModel.Activation;
      var isFromBackground = false;
      app.onactivated = function (args) {
  
          var localSettings = Windows.Storage.ApplicationData.current.localSettings;
          if (args.detail.kind === activation.ActivationKind.launch) {
              if (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) {
                  
                  // TODO: This application has been newly launched. Initialize
                  // your application here.
              } else {
                  // TODO: This application has been reactivated from suspension.
                  // Restore application state here.
              }
              args.setPromise(WinJS.UI.processAll());
          }
      };
  
      app.oncheckpoint = function (args) {
          // TODO: This application is about to be suspended. Save any state
          // that needs to persist across suspensions here. You might use the
          // WinJS.Application.sessionState object, which is automatically
          // saved and restored across suspension. If you need to complete an
          // asynchronous operation before your application is suspended, call
          // args.setPromise().
          isFromBackground = true;
      };
  
      app.start();
  })();</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;title&gt;App1&lt;/title&gt;
  
      &lt;!-- WinJS references --&gt;
      &lt;!-- To get the latest version of WinJS, go to: http://go.microsoft.com/fwlink/?LinkId=533245 --&gt;
      &lt;link href="WinJS/css/ui-dark.css" rel="stylesheet" /&gt;
      &lt;script src="WinJS/js/WinJS.js"&gt;&lt;/script&gt;
  
      &lt;!-- App1 references --&gt;
      &lt;link href="/css/default.css" rel="stylesheet" /&gt;
      &lt;script src="/js/default.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
      &lt;p&gt;Content goes here&lt;/p&gt;
      &lt;button onclick="gored()"&gt; Click Me&lt;/button&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>