Use console.warn instead of console.warning