Improve bkEventExecutor interface implementation

What was done before isn't valid JS; This does the same thing, while keeping the JS syntax valid.