Revert "Revert "Revert "Update formats.js"""

This reverts commit 3fa9695f5aef1160b5840a3265b8e98b652830f9.