fixes #3
console.log/error/warn removed