Revert "Update formats.js"

This reverts commit 201d53534f308a9679636688256f62206fecaaca.