updated membership.js to use utilities.js and event handlers.