Nevermind. I was trying to change the line
'<a href="#" class="buy not-active" target="_blank"></a>' +
to
'<a href="#" class="buy not-active" target="_self"></a>' +
in the file ttw-music-player.js, but not the ttw-music-player-min.js file.
So for anyone who has the same problem, change the “_blank” to “_self” in the ttw-music-player-min.js file.