format serial-commands.js