made new thank you alert variable

new thank you alert variable and swapped out alert and console strings
with variable