Reformatted code and removed unnecessary comments

Change-Id: I3307d4309caf31c4fca7889f92e17c8f480be0b9
diff --git a/css/dialog.css b/css/dialog.css
index 70d7ff7..7a5782d 100644
--- a/css/dialog.css
+++ b/css/dialog.css
@@ -1,5 +1,3 @@
-/* ********** HERE STARTS dialog.css ****** */

-

 #dialog {

 	position: absolute;

 	top: 0px;

diff --git a/css/general.css b/css/general.css
index 27e07e1..767a1bf 100644
--- a/css/general.css
+++ b/css/general.css
@@ -1,5 +1,3 @@
-/* ********** HERE STARTS general.css ****** */

-

 html, body {

 	margin: 0;

 	width: 100%;

diff --git a/css/graf.css b/css/graf.css
index d977170..59b8cb9 100644
--- a/css/graf.css
+++ b/css/graf.css
@@ -1,5 +1,3 @@
-/* ********** HERE STARTS graf.css ****** */

-

 #graf {

 	width: 100%;

 	height: 100%;

diff --git a/css/option-buttons.css b/css/option-buttons.css
index 2c4ddff..837e436 100644
--- a/css/option-buttons.css
+++ b/css/option-buttons.css
@@ -1,4 +1,3 @@
-/* ********** HERE STARTS search-bar.css ****** */

 #circle-mode {

 	position: absolute;

 	right: 10px;

diff --git a/css/search-bar.css b/css/search-bar.css
index 48da607..ee8f578 100644
--- a/css/search-bar.css
+++ b/css/search-bar.css
@@ -1,4 +1,3 @@
-/* ********** HERE STARTS search-bar.css ****** */

 .md-google-search__metacontainer {

 	position: absolute;

 	top: 10px;

diff --git a/css/year-list.css b/css/year-list.css
index d30f7d8..877d367 100644
--- a/css/year-list.css
+++ b/css/year-list.css
@@ -1,5 +1,3 @@
-/* ********** HERE STARTS year-list.css ****** */

-

 #year-list {

 	padding: 16px;

 	padding-top: 0;

diff --git a/graf.php b/graf.php
index 9dcf6ee..f3abb0d 100644
--- a/graf.php
+++ b/graf.php
@@ -3,7 +3,7 @@
 

 session_start();

 

-if (! isset($_POST["password"])) {

+if (!isset($_POST["password"])) {

   header("Location: login.php");

   exit();

 }

@@ -23,7 +23,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

     <link rel="manifest" href="manifest.json">

 

-    <!-- own css stylesheets -->

+    <!-- Our CSS stylesheets -->

     <link rel="stylesheet" href="css/general.css">

     <link rel="stylesheet" href="css/graf.css">

     <link rel="stylesheet" href="css/dialog.css">

@@ -31,7 +31,7 @@
     <link rel="stylesheet" href="css/year-list.css">

     <link rel="stylesheet" href="css/search-bar.css">

 

-    <!-- imported css stylesheets -->

+    <!-- External CSS stylesheets -->

     <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

     <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.blue_grey-blue.min.css" />

 

@@ -42,7 +42,7 @@
     <meta name="apple-mobile-web-app-status-bar-style" content="black">

   </head>

   <body>

-    <!-- side buttons -->

+    <!-- Side buttons -->

     <div id="option-buttons">

       <button id="circle-mode" class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored"><i class="material-icons">trip_origin</i></button>

       <button id="settings" class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored"><i class="material-icons">settings</i></button>

@@ -51,7 +51,7 @@
       <button id="zoomout" class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored"><i class="material-icons">zoom_out</i></button>

     </div>

 

-    <!-- limit year list -->

+    <!-- Limit year list -->

     <div id="year-list" style="display:none">

       <span id="year-list-span"></span>

     </div>

@@ -125,7 +125,7 @@
     <script src="js/just-do-it.js"></script>

     <script src="js/init.js"></script>

 

-    <!-- imported scripts -->

+    <!-- External scripts -->

     <script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>

 

     <!--<script src="js/service-worker.js"></script>-->

diff --git a/js/autocomplete.js b/js/autocomplete.js
index cb3c28f..9b82f6a 100644
--- a/js/autocomplete.js
+++ b/js/autocomplete.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS autocomplete.js *************

-

 function autocomplete(inp, obj, act, rectBorrar) {

   /*the autocomplete function takes two arguments,

   the text field element and an objay of possible autocompleted values:*/

diff --git a/js/camera.js b/js/camera.js
index 6c70643..a1d3044 100644
--- a/js/camera.js
+++ b/js/camera.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS camera.js *************

-

 function cameraGoto(nodeX, nodeY) {

 	sigma.misc.animation.camera( s.camera,

 		{ x: nodeX, y: nodeY, ratio: 1 },

diff --git a/js/circle-mode.js b/js/circle-mode.js
index 3677f68..c4aac84 100644
--- a/js/circle-mode.js
+++ b/js/circle-mode.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS circle-mode.js *************

-

 circleMode = false;

 

 function initCircleMode() {

diff --git a/js/dialog.js b/js/dialog.js
index 6e1c3f8..3b863ce 100644
--- a/js/dialog.js
+++ b/js/dialog.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS dialog.js *************

-

 var dialog = {

 	fill: function(data, text, html=false) {

 		var el = document.querySelectorAll("*[data-fill=\""+data+"\"]");

diff --git a/js/graf.js b/js/graf.js
index 39c9295..66d7cbd 100644
--- a/js/graf.js
+++ b/js/graf.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS graf.js *************

-

 // s is the sigma graph

 // graf is the JSON graph

 var s, graf;

diff --git a/js/init.js b/js/init.js
index a07389c..97a306d 100644
--- a/js/init.js
+++ b/js/init.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS init.js *************
-
 function init() {
   initGraf();
   addYearList();
diff --git a/js/just-do-it.js b/js/just-do-it.js
index 05d8da5..dfb4f6a 100644
--- a/js/just-do-it.js
+++ b/js/just-do-it.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS just-do-it.js *************

-

 var seq = [38, 38, 40, 40, 37, 39, 37, 39, 65, 66, 13];

 var cur = 0;

 

diff --git a/js/limit-years.js b/js/limit-years.js
index 76447c0..eeab183 100644
--- a/js/limit-years.js
+++ b/js/limit-years.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS limit-years.js *************

-

 var limitYears = false;

 var showYears = new Set();

 

diff --git a/js/search-bar.js b/js/search-bar.js
index 10821be..af271a2 100644
--- a/js/search-bar.js
+++ b/js/search-bar.js
@@ -1,5 +1,3 @@
-// *********** HERE STARTS search-bar.js *************

-

 function altSearchBar() {

 	if (document.querySelector(".md-google-search__metacontainer").style.display == "none") {

 		document.querySelector(".md-google-search__metacontainer").style.display = "block";