updated for supporting legacy ie

`console.log.apply` throws an error on IE8 Emulator. so i fixed for debugging.