Detect if javascript is enabled in php and remove the TypeKit flicker

Experimenting with TypeKit I found the flicker really annoying.

It dose feature loading events that add .wf-loading, .wf-active and .wf-inactive classes to the HTML tag but there still is at least a one second delay before they get appended so you still see the page with the flicker if you want to hide the content based on these classes.

Read more