<!DOCTYPE html>
<html>
  <head>
    <title>AstroWebServices Spectra Viewer</title>
    <script src="/socket.io/socket.io.js"></script>
    <script src="https://www.google.com/jsapi"></script>
    <script src="/scripts/jslib/dojo/configure.js"></script>
    <script src="/scripts/jslib/dojo/1.10/dojo/dojo.js"></script>
  </head>

  <body>
    <h1>Spectra Viewer: <span id="dataset-name"></span></h1>
    <div class="imageHolder">
      <img id="dataset-image" src=""></img>
    </div>
    <div class="spectrumHolder" id="spectrum-holder">
    </div>
    <div>
      <p>X: <span id="x-pix"></span></p>
      <p>Y: <span id="y-pix"></span></p>
      <p>RA: <span id="ra-pos"></span></p>
      <p>Dec: <span id="dec-pos"></span></p>
    </div>


    <script src="/scripts/spectraViewer.js"></script>

  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title>AstroWebServices Spectra Viewer</title>
    <script src="/socket.io/socket.io.js"></script>
    <script src="https://www.google.com/jsapi"></script>
    <script src="https://astrowebservices.com/jslib/dojo/configure.js"></script>
    <script src="https://astrowebservices.com/jslib/dojo/1.10/dojo/dojo.js"></script>
  </head>

  <body>
    <h1>Spectra Viewer: <span id="dataset-name"></span></h1>
    <div class="imageHolder">
      <img id="dataset-image" src=""></img>
    </div>
    <div class="spectrumHolder" id="spectrum-holder">
    </div>
    <div>
      <p>X: <span id="x-pix"></span></p>
      <p>Y: <span id="y-pix"></span></p>
      <p>RA: <span id="ra-pos"></span></p>
      <p>Dec: <span id="dec-pos"></span></p>
    </div>


    <script src="/scripts/spectraViewer.js"></script>

  </body>
</html>

Move some handling of loading to the normal webserver.
Move some handling of loading to the normal webserver.
