Improve bkEventExecutor interface implementation

What was done before isn't valid JS; This does the same thing, while keeping the JS syntax valid.
Merge pull request #138 from Strat-/patch-1

Improve bkEventExecutor interface implementation