Fix ie9 bug - console.log.apply not defined