major refactor in progress
refactor complete
capture phantomJS log emissions and convert to our own