This page uses DOM scripting to add a class of hasjs on the <body> tag. A CSS style, body.hasjs p { color: red; }, makes the paragraph text appear colored red.
hasjs
<body>
body.hasjs p { color: red; }