text: $(function () {
      var date = new Date();
      var d = date.getDate();
      var m = date.getMonth();
      var y = date.getFullYear();
  
      $('#calendar-holder').fullCalendar({
          header: {
              left: 'prev,next today',
              center: 'title',
              right: 'month,agendaWeek,agendaDay'
          },
          lazyFetching: true,
          timeFormat: {
              // for agendaWeek and agendaDay
              agenda: 'H:mm',    // 5:00 - 6:30
  
              // for all other views
              '': 'H:mm'         // 7p
          },
          allDayDefault: false,
          eventSources: [
              {
                  url: Routing.generate('fullcalendar_loader'),
                  type: 'POST',
                  // A way to add custom filters to your event listeners
                  data: {
                  },
                  error: function() {
                     //alert('There was an error while fetching Google Calendar!');
                  }
              }
          ]
      });
  });
  