A simple javascript eventing library