added initial javascript fucntions to the buttons in create calendar form