include page views and dom events in jsapi model