Switched out hard-coded HTML IDs (#) for dynamic IDs using portal ID;

Switched out hard-coded HTML IDs (#) for dynamic IDs using portal ID;