Update formats.js

fixed