different settings for js-mode and *.json files.