Detecting font smoothing with JavaScript

A look into how we can detect font smoothing using JavaScript to improve visual styling for different users.