Add configuration for JS.