Add example config for JavaScript