include page views and dom events in jsapi model
Merge pull request #2 from jtuulos/master

add support for querying by page views and dom events when using JavaScript API