A bit of refactoring of the JS code, and added better support for memberships combined with donations.
README: add mention about support for memberships, and missing use-cases.