title: Raspberry Pi - JavaScript doesn't work in chromium kiosk mode
body: <p>I am running the latest Raspbian Wheezy O/S on my RPI and I am having a pretty strange problem.</p>
  
  <p>I created a number of html files which I am trying to run automatically in kiosk mode on startup (modifying the autostart file).</p>
  
  <pre><code>@chromium --kiosk --incognito http://some.web.
  </code></pre>
  
  <p>Basically the HTML pages shuffle using the javascript setTimeout command:</p>
  
  <pre><code>setTimeout("location.href = 'widgets.html';", 120000);
  </code></pre>
  
  <p>Every HTML file has this command.</p>
  
  <p>These commands work fine when I let the system boot up manually and launch the HTML files manually by double clicking on them. When they are executed by modifying autostart or run via command line, the above line doesn't work.</p>
  
  <p>Any idea as to why this is happening?</p>
  
  <p>I've tried playing around with the different chromium switches with no luck.</p>