browser console doesn't have any warning method