for(var i=0; i < list.length; i++){
    if (list[i].spotifyID == song){
      index = i;
    }
  }