the JS API itself doesn't know anything about web.configs. individual application developers can choose to write apps that pull configuration input from external files or information pulled out of the Url itself, or they can hardcode all logic and resources directly inside the application source.