adds request handler for adding pageviews (with Javascript AJAX reauest, JSONP supported)