add config example js file