Update code/portal_detail_display.js

Allows the portal details to flow to the hook so external scripts can call these details.