changed output

changed all "alert" outputs to "console.log"