Cascading Configuration System (Javascript version)