Minor performance improvement, styling on homepage

Put the script tag at the top so the user doesn't see a
flash of content before it gets hidden. This is technically
a performance degradation, but should feel better to users
on slow devices.