Switched to alert

Switched console.log to alert so the user can see the result.