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

Fixed console.log.apply is not function (ie9)
else if (console && console.log.apply)