Shouldn't this be enclosed in preprocessor tags, to prevent including this code in Firefox.