added ajax to basic block view & patched calendar for error fix