fix($log): Should work in IE8