Update formats.js

This just adds my changes to the formats.