Update format.js

Removed trailing comma