Update for Firefox compatibility
Fixes typo from previous commit