Fixed console.log.apply is not function (ie9)