Update formats.js

Edits it for diversions