Using id from closures instead of setting attribute
Updated readme