"#000",
                        filter:"alpha(opacity=50)",
                        '-moz-opacity':"0.5",
                        '-khtml-opacity': "0.5",
                        opacity: "0.5",
                        'z-index': "10000"})
                  .appendTo(document.body);
              loading = true;

          }
      }
      //Start loading screen before downloading plotly which is quite large
      toggleLoadingScreen();
    </script>
    <script src="https://cdn.plot.ly/plotly-1.5.0.min.js">