Simple JavaScript logger, supporting verror