Update log.js

Added 'debug' to ALLOWED_TYPES
(to support console.debug)