use yaml for config, make space for JS in config