Split up script.js into smaller files for maintainability; removed unused calendarSubscribeModal js function; other minor template adjustments