js error in IE 9-8 at calendar all click