Add test for validate function (private).
Reject promise when there is a syntax error instead of throwing an exception.
Rename fontloader.js to polyfill.js.
Update dependencies.