Emily Gray

const backbutton = document.getElementById('aeagobackbutton'); function goBack() { window.history.back() } jQuery(document).ready(function () { console.log("ready"); backbutton.onclick = function(i){ i.preventDefault(); goBack(); console.log("ready2"); }; })