some @:jsRequire and event typing