Fix to many attached events
merge from master to gh-pages
remove old dist
update dist files