Revert "CRM-14541 - CiviEvent: clean up minor JS errors"

This reverts commit 2f13bd1a4eeabc3ddf8c7dc2ecd1bea0e590f139.
CRM-14541 - CiviEvent: clean up minor JS errors

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