<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>Arduino Yun Tilt Sensor</title>
</head>
<body>
   <h1>
      Arduino Yun Tilt Sensor
   </h1>
   <p>
      Open dev tools console to view log output. 
   </p>
   <script src="/shared/autobahn/autobahn.min.js"></script>
   <script>
      // the URL of the WAMP Router (Crossbar.io)
      var wsuri;
      if (document.location.origin == "file://") {
         wsuri = "ws://127.0.0.1:8080/ws"; // localhost for development
      } else {
