an events api for javascript