title: dayClick and eventClick function not working
body: <p>I have inserted some new functions in my js but <code>dayClick</code> and <code>eventClick</code> don't work. The calendar is able to load properly though. </p>
  
  <p>Any idea why the dayclick and eventclick in the following code is not working?</p>
  
  <pre class="lang-js prettyprint-override"><code>$(document).ready(function() {
      var date = new Date();
      var d = date.getDate();
      var m = date.getMonth();
      var y = date.getFullYear();
  
      var calendar = $('#calendar').fullCalendar({
          header: {
              left: 'prev,next today',
              center: '',
              right: 'agendaWeek,agendaDay'
          },
          selectable: true,
          selectHelper: true,
          allDayDefault: false,
          allDaySlot: false,
          firstHour: 9,
          defaultView: 'agendaWeek',
  
          dayClick: function(date, allDay, jsEvent, view) {
              calendar.fullCalendar('gotoDate', date);
          },
  
          eventClick: function(calEvent, jsEvent, view) {
      window.location = "http://www.domain.com?start=" + calEvent.start;
  
  },
  
          select: function(start, end) {
  
              var title = prompt('Event Title:');
              if (title) {
                  calendar.fullCalendar('renderEvent',
                      {
                          title: title,
                          start: start,
                          end: end
                      },
                      false // make the event "stick"
                  );
  
                  var startDateString = $.fullCalendar.formatDate(start, 'yyyy-MM-dd hh:mm');
                  var endDateString = $.fullCalendar.formatDate(end, 'yyyy-MM-dd hh:mm');
                  $.ajax({
                      type: 'POST',
                      url: '{url}ajaxpost/add',
                      data: {
                          startDate: startDateString,
                          endDate: endDateString,
                          eventTitle: title                            
                      },
                      dateType: 'json',
                      success: function (resp) {
                          calendar.fullCalendar('refetchEvents');
  
                      }
                  });
              }
              calendar.fullCalendar('unselect');
          },
          editable: true,
          events: "{url}ajaxget/data",
      });
  
  });
  </code></pre>