Fix IE compatibility for console.log.apply