Fix calander on IE8.

#3910