extracted event library and made it a bower dependency