<html>
  <head>
    <title>Spark Login Example</title>
  </head>

  <body>
    <div id="spark-login" />

    <script src="PATH_TO_SPARK_BROWSER_BUNDLE"></script>
    <script>
      sparkLogin(function(data) {
        console.log(data);
      });
    </script>
  </body>
</html>

<html>
  <head>
    <title>Spark Login Example</title>
  </head>

  <body>
    <div id="spark-login" />

    <script src="//cdnjs.cloudflare.com/ajax/libs/sparkjs/0.1.0/spark-browser.min.js"></script>
    <script>
      sparkLogin(function(data) {
        console.log(data);
      });
    </script>
  </body>
</html>

Edit example with cdnjs path
Edit example with cdnjs path
