Fix calendar.js.coffee bugs.