Added javascript for calendar view with plugin.