openNewWindowOrEvent and JsFunction.Event