js: add trailing comma in multiline example