Attempts to add the class '.js' to the 'html' element. If javascript is not enabled, this will fail.  This is a low overhead way of checking for Javascript compatibility.