- fixed a problem with flattenArray
- fixed issue in binding CSS3 events like transition end
- refactored matchesSelector
- updated comments