// this adds a class "javascript-enabled" to the body tag if JS is available. Helps style JS-only features.
// http://wojciechbednarski.com/web-accessibility/the-best-way-to-hide-content-by-javascript
document.documentElement.className += " javascript-enabled";