add Add button to cal ; fix delete bug

* moved calendar_delete to common.js as common_delete