This snippet is super small but is super handy. It detects to see if JavaScript is enabled on the users browser. If yes, a class will be added to the <body> tag
$('body').addClass('yourClassName');
Adds the class yourClassName to <body> tag if Javascript is enabled.
<body class="yourClassName">
