Update field_typography.js

Prevent script error when unsuccessful loaded or working offline