Update wget.js

It was failing if the URL has some get argument involved.