CRM-14541 - CiviEvent: clean up minor JS errors

----------------------------------------
* CRM-14541: Allow picking dedupe rule per event
  https://issues.civicrm.org/jira/browse/CRM-14541