add js-mode configuration.