fixed typeo
fixed path
better impl for collecting phantomjs metric