making default settings js component settings global