swapped out for introAlert variable

Inserted introAlert variable in place of alert and console.log strings