scraper.javascript: Fix nonsensical link scraping code

Regression introduced in 342acf5368d0b2fc484b4cf3e5e44fb390b9ab4a and
made worse by 342acf5368d0b2fc484b4cf3e5e44fb390b9ab4a

Closes chfoo/wpull#192