Rails adaptation of FullCalendar Jquery plugin