Use the shorter `js` to highlight Javascript code.
Use `process.platform` instead of `os.type`.