Refactor base.js
Create mixins for font kerning, adjust + smoothing.