fix typo error in fieldformat.js