added javascript to hide and show recurring date fields for events depending on if the users specifies if it is indeed a recurring event or not.