modify readme description, move same config setting to js lirary.