support ommited .js extensions in config