Isn't it `article.url` (instead of `document.url`)?