basis.event: replace DEVMODE for /** @cut */ as builder is not remove that code, make event dispatch function to be optimized