Fix calander on IE8.
Merge pull request #4056 from openscholar/3910

Fix calander on IE8.