title: how to add some code to javascript while it is runnig on another window
body: <p>How to add some code to javascript while it is running in another window, for example if some songs are playing using javascript in another window then how to add another song to the playlist i.e to javascript</p>
  
  
  var myPlaylist=[{mp3:'path of the song',title:'title of the song'},{mp3:'path of the song',title:'title of the song'},{mp3:'path of the song',title:'title of the song'}];           
  $(document).ready(function(){
      $(body).ttwmusicplayer(myPlayList,)
  
  });
  
  
  <p>by using this script some songs are playing in the pop-up window.....
  and my problem is how to add a another song to the playlist i.e in pop-up window when some button is clicked on the parent window.</p>