tidied up formatting, changing copy url on input change still doesn't work quite right