Use print when console is not defined.