Better event delegation and cleaned up/simplified code a bit
Updated README example code