Fixing for Firefox

Fixes certain required elements for Firefox.