Added calendar functionality for cross-browser support