Sorry @kyoshino the UA check in the JS threw me there, as I assumed it must have been needed for some reason. I know it's only a small thing, but I'd rather see us use a conditional comment in the base template rather than a UA sniff with JS.