Use console.error instead of deprecated util.error
Merge pull request #128 from pornel/utilerror

Use console.error instead of deprecated util.error