Jeez, why can't browser developers be more considerate of the poor put-upon user agent-detecting site developer?
For future reference: look into externalizing your scripts/css into a separate file and referencing that instead of copying and pasting to every page.
I also liked the find | xargs and sed one-liners. They might as well have been speaking Aramaic.
Someone named YHWH should probably be able to understand Aramaic! :)