A JavaScript microlibrary for automatic event binding