AMD supported console.log wrapper for browsers