Agregar objeto JSON a JSON Array JavaScript
//create object
var myObj = {
"artist" : artist, //your artist variable
"song_name" : title //your title variable
};
//push the object to your array
favorites.push( myObj );
Jules