Add URL to document loaded event action