moved the create-artifact click event listener into document.ready