Update package_ui.js

added a hopefully sane way to extract the URL of individual links from the webui