jquery selectors can be quite expensive when it comes to CPU. Since in this file your using the same selector more than one you can cache it:
 * On file 2 you add `$id_accepting_new_members = $('#id_accepting_new_members')` and then you use `$id_accepting_new_members`

Note the starting `$`. This is (our) agreement to tag jquery variables.