add loading for calendar and fix a bug about returned json