editor: config js object introduced, got rid of all other redundant params