Javascript library for events and some more stuff