Measure UI performance with phantomJS