Fixed erroneous use of console.err.
Related to issue #33.