document.py: Improves JS regex to scrape absolute URLs with space.