LP#1775719 Modify array check for Phantomjs; reduce logging;