anchor.diff:                          success: function (data) {
   
                               //Changing browser url without reloading the page
  -                            history.pushState(null, null, 'index.jsp?api_key=<%=project.getApiKey()%>&route='+route);
  +                            history.pushState(null, null, 'index.jsp?api_key=<%=project.getApiKey()%>&route=' + route);
   
   
                               stopLoading(true);
  
positive.code:                                 //Adding added route to select list
                                  $("select#routes").append("<option value=" + data.data.id + ">" + route + " </option>");
                              }
  
  
  
                          } else {
  
negative.code:                         stopLoading(true);
                          console.log(data);
  
                          setLastModified("Just now", "Just now");
  
                          if (!data.error) {
  
  