document.getElementById("testLink").addEventListener("click", function(){ "use strict"; window.open("./audioTest.html", "_blank"); });