Update random-encounter.js