#827 Allow js config files as alternatives to config.json