js_client: local/production config module