Add "js" class when JS is available
Fix typo