Minor JS fix for Firefox

[#72478254]

Rearranged function anchorTags() in icpsr.js to before its execution.