fix: typeof [Object NodeList] === 'function' in phantomjs