change monitoring.js to use json instead of jsonp when fetching stats