Added new comments

Added new comments,
Replaced “ “ with ‘ ‘ where appropriate.
Changed some calendar.js functions to be more modular.