Fix a javascript error on event add/edit. This is because the option to use different custom reg forms for different pricing was removed while the js script was not updated accordingly.