Vanilla JavaScript plugin to detect when webfonts have been loaded