use console instead of deprecated util.puts/error
Merge pull request #71 from queckezz/update/util-to-console

use console instead of deprecated util.puts/error