javascript-mode: add function: json-format
c-mode: use kernel's comment style