include dom events in jsapi model