add support to config.json rewrite beans in js files