Update formats.js

Fixed comma error