move this to a JS file with a .click or .on("click" function