adding fix for phantomjs errors on mavericks *crossing fingers*