added the main.js and calendar functionality.