Changed it to use printMessage(). Who doesn't have a console these days? I thought even IE has one now.