Network monitoring and performance reporting with PhantomJS