Revert "fix calendar.js, rel #398"

This reverts commit 432e12ac543bf7549ba8409e1d8f8635aa2b2d0a.