Replace deprecated sys.puts with console.log, resolve #1529
Merge pull request #1552 from picomancer/master

Replace deprecated sys.puts with console.log, resolve #1529