Update field_typography.js

Prevent script error when unsuccessful loaded or working offline
Merge pull request #927 from mintbird/patch-2

Update field_typography.js